<?php

namespace plugin\colecms\app\model;

use think\Model;

/**
 * t_cms_ad 
 * @property integer $id (主键)
 * @property integer $ad_position_id 广告位ID
 * @property integer $media_type 类型 1图片 2视频
 * @property string $name 名称
 * @property string $link 跳转链接
 * @property string $url 资源路径
 * @property string $content 内容
 * @property integer $end_time 结束时间
 * @property integer $enabled 是否显示 1是 0否
 */
class CmsAd extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';
    
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 't_cms_ad';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $pk = 'id';

    
}
